package com.rui.study.demo.httpclient.cncbox;

import com.rui.study.demo.httpclient.HttpClient;

import java.util.HashMap;
import java.util.Map;

/**
 * @program: study
 * @description:
 * @author: Yaowr
 * @create: 2019-02-20 09:49
 **/
public class UserMgt {

    static String token = "eyJhbGciOiJIUzUxMiJ9.eyJhdWQiOiJFRDIzODhCMkRDRTk0OTlGOUI5Q0Y4NTU4RDkzODg0OSIsImp0aSI6IjcwNDUyZGM1MmI5ZDRhZWRiMTA1NzY3NjM0MmVmODhkIiwiYWNjb3VudElkIjoieWFvd3IiLCJhY2NvdW50TmFtZSI6IuWnmuaWh-mUkCIsIm1lbnVQZXJtaXNzaW9uIjoibV8wMDEsbV8wMDFfMDEsbV8wMDFfMDFfMDEsbV8wMDFfMDFfMDIsbV8wMDFfMDMsbV8wMDFfMDNfMDEsbV8wMDFfMDFfMDMsbV8wMDFfMDIsbV8wMDFfMDQsbV8wMDIsbV8wMDJfMDEsbV8wMDJfMDIsbV8wMDNfMDEsbV8wMDNfMDFfMDEsbV8wMDNfMDFfMDIsbV8wMDNfMDIsbV8wMDNfMDJfMDEsbV8wMDNfMDJfMDIsbV8wMDNfMDJfMDMsbV8wMDQsbV8wMDRfMDEsbV8wMDRfMDFfMDEsbV8wMDRfMDIsbV8wMDRfMDJfMDEsbV8wMDRfMDJfMDIsbV8wMDUsbV8wMDVfMDEsbV8wMDVfMDFfMDEsbV8wMDVfMDFfMDIsbV8wMDVfMDFfMDMsbV8wMDVfMDIsbV8wMDVfMDJfMDEsbV8wMDYsbV8wMDZfMDEsbV8wMDZfMDIsbV8wMDZfMDMsbV8wMDZfMDQsbV8wMDZfMDUsbV8wMDZfMDYsbV8wMDZfMDcsbV8wMDgsbV8wMDhfMDEsbV8wMDhfMDFfMDEsbV8wMDhfMDFfMDIsbV8wMDhfMDFfMDMsbV8wMDhfMDFfMDQsbV8wMDhfMDIsbV8wMDhfMDJfMDEsbV8wMDhfMDJfMDIsbV8wMDhfMDMsbV8wMDhfMDNfMDEsbV8wM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wMDlfMDUsbV8wMDlfMDVfMDEsbV8wMDlfMDVfMDIsbV8wMDlfMDVfMDMsbV8wMDNfMDEsbV8wMDNfMDFfMDEsbV8wMDNfMDIsbV8wMDNfMDJfMDEsbV8wMDNfMDJfMDIsbV8wMDNfMDJfMDMsbV8wMDMiLCJpYXQiOjE1NTA2NDM2MTZ9.2u1msNVWtYnCq1iRmAaY3WqFPq0XH8rOqyIPcXoDDvzGS8NO6zgn_b6OQ0B7dWsqvt4MKAo0c5_L4XajQ_7--A";



    private static void loadUserAccount(String identifier) {

        String url = "http://172.16.3.21:11000/usermgt/v1/user-account/15505603412742420";
        Map<String, Object> headers = new HashMap<String, Object>();
        headers.forEach((beanname, sdf)->{
            
        });
        headers.put("login_token", token);
        HttpClient.get(url, headers);
    }

    public static void main(String[] args) {
        loadUserAccount("yaowr@mpreader.com");
    }

}
